package cn.tedu.oa.attendance.service;

import cn.tedu.oa.common.service.BaseService;
import cn.tedu.oa.attendance.entity.Attendance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttendanceService extends BaseService<Attendance> {
    /*通过姓名查询考勤信息*/
    Attendance getAttendanceByName(String name);

    /*分页查询考勤信息*/
    List<Attendance> getAttendancePagerList(String criteria, Integer pageNo, Integer pageSize);

    /*通过id查询*/
    Attendance getAttendanceById(Integer id);
}
